package cn.com.zhuxulin.info.Utils;

public final class ReplaceXml {
	public static String replace(String xml,String source,String dest){
		if(source==null||source.equals(""))throw new RuntimeException("source is empty!");
		return xml.substring(0, xml.indexOf(source))+dest+xml.substring(xml.indexOf(source)+source.length());
	}
}
